#pragma once
#include "transition.h"
class FCTransition :
	public Transition
{
public:
	FCTransition(int x, int y, int width, int height, char stroke[], int strokeWidth, char fill[]):
		Transition(x, y, width, height, stroke, strokeWidth, fill)
	{
	}

public:
	FCTransition(void);
	~FCTransition(void);

	void Fill(MyGraphics* g)
	{
		g->DrawArrow(_fill, _strokeWidth, _x, _y, _x + _width, _y + _height);
	}

	void Draw(MyGraphics* g)
	{
		// Neu mui ten di tu
		
		// trai <---- Phai:  _with < 0
		// trai ----> Phai:  _with > 0

		// Tren <---- Duoi: _height < 0
		// Tren ----> Duoi: _height > 0

		g->DrawArrow(_stroke, _strokeWidth, _x, _y, _x + _width, _y + _height);
	}
};

